#pragma once

#define STRENGHT_TOP  1
#define STRENGHT_LEFT 0

int GetStrenght(MBlock *Image, DWORD MacroBlockNum, DWORD BlockNum, DWORD Direction, DWORD *Strenght);
int GetStrenghtOpt(MBlock *Image, DWORD MacroBlockNum, DWORD BlockNum, DWORD Direction, DWORD *Strenght);

int Deblock(MBlock *Image, DWORD Opt);

int Filter(int *FilterLine, DWORD Strenght);